Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /


Chapter 2 - Core Printing Features

This chapter describes how your application can use the core set of QuickDraw GX printing features to print documents created with QuickDraw GX. Read the information in this chapter if you want to print your application's documents to an output device. For example, you might use QuickDraw GX to print to a LaserWriter a document that contains some text and a few illustrations.

Before reading this chapter, you should be familiar with the basic concepts and user interface for printing with QuickDraw GX, as described in the chapter "Introduction to Printing With QuickDraw GX" in this book.

This chapter describes the basic QuickDraw GX print objects: a job, a format, and a paper type. This chapter also shows you how to


Chapter Contents
About Core Printing Features
Core Print Objects
Job Object Properties
Format Object Properties
Paper-Type Object Properties
Edit Menu Structure
Using Core Printing Features
Initializing QuickDraw GX Printing
Creating a Job Object for a Printable Document
Error Handling
Supporting QuickDraw GX Print Dialog Boxes
Printing Documents Using QuickDraw GX
Printing Pages as Single Picture Shapes
Printing Pages by Capturing Shapes
Saving a Job Object With a Document File
Saving a Job Object in a Single Handle
Saving a Job Object Using a Flattening Function
Disposing of a Job Object When Closing a Document
Retrieving a Job Object When Opening a Document
Retrieving a Job Object From a Handle
Retrieving a Job Object Using an Unflattening Function
Obtaining Object References
Obtaining Information From a Format Object
Displaying QuickDraw GX Print Dialog Boxes
Displaying the Page Setup Dialog Box
Displaying the Print Dialog Box
Supporting Printing From the Finder
Updating Job Object Information
Printing Macintosh Printing Manager Documents
Core Printing Features Reference
Constants and Data Types
Gestalt Selectors for Printing
QuickDraw GX Printing-Related Objects
Edit Menu Location
Dialog Box Results
Functions
Initializing and Terminating QuickDraw GX Printing Features
Handling Errors
Creating and Managing Job Objects
Printing With QuickDraw GX
Obtaining Information on Printing-Related Objects
Displaying the Page Setup and Print Dialog Boxes
Converting a Print Record
Application-Defined Functions
Message Override Functions
Flattening and Unflattening Functions for Job Objects
Summary of Core Printing Features
Constants and Data Types
Gestalt Selectors for Printing
QuickDraw GX Printing-Related Objects
Edit Menu Record Structure
Dialog Box Results
Functions
Initializing and Terminating QuickDraw GX Printing Features
Handling Errors
Creating and Managing Job Objects
Printing With QuickDraw GX
Obtaining Information on Printing-Related Objects
Displaying the Page Setup and Print Dialog Boxes
Converting a Print Record
Application-Defined Functions
Message Override Functions
Flattening and Unflattening Functions for Job Objects

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help